package com.ruoyi.system.api.domain;

import java.math.BigDecimal;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 缴费记录明细对象 school_payrecordd
 * 
 * @author ruoyi
 * @date 2023-02-09
 */
@Data
public class SchoolPayrecordd extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 所属校区 */
    @Excel(name = "所属校区")
    private Long schoolId;

    /** 学生ID */
    @Excel(name = "学生ID")
    private Long studentId;

    /** 原缴费金额 */
    @Excel(name = "原业务金额")
    private BigDecimal oldamount;

    /** 缴费金额 */
    @Excel(name = "业务金额")
    private BigDecimal amount;

    @Excel(name = "原实缴金额")
    private BigDecimal realOldamount;

    @Excel(name = "实缴金额")
    private BigDecimal realAmount;

    /** 记录老师ID */
    @Excel(name = "记录老师ID")
    private Long teacherId;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("schoolId", getSchoolId())
            .append("studentId", getStudentId())
            .append("oldamount", getOldamount())
            .append("amount", getAmount())
            .append("remark", getRemark())
            .append("teacherId", getTeacherId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
